using System;
using System.IO; 
using System.Collections.Generic;
using System.Drawing; 
using System.Drawing.Imaging; 
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class LogoView : System.Web.UI.Page
{

    protected void Page_Load(object sender, EventArgs e)
    {
        dbProcessor my_db = new dbProcessor();

        int CompId = Convert.ToInt32(Request.Params["CompId"]);

        byte[] selected_image = my_db.select_image(CompId);

        Response.BinaryWrite(selected_image);        
    }
}

